package com.woniuxy.microfixeddepositserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableScheduling  //开启定时任务
@EnableSwagger2
@EnableFeignClients
@MapperScan("com.woniuxy.microfixeddepositserver.dao")
@EnableDiscoveryClient
@SpringBootApplication
public class MicroFixeddepositServerApplication {

    public static void main (String[] args) {
        SpringApplication.run(MicroFixeddepositServerApplication.class, args);
    }

}
